$OpenBSD: patch-configure_ac,v 1.4 2012/11/20 12:01:07 dcoppa Exp $
--- configure.ac.orig	Sat Aug 25 15:00:19 2012
+++ configure.ac	Tue Nov 20 12:18:46 2012
@@ -128,7 +128,7 @@ AC_ARG_ENABLE(debug,
 AM_CONDITIONAL(DEBUG, test "$enable_debug" = "yes")
 if test "$DEBUG" = "yes"; then
     AC_DEFINE(ENABLE_DEBUG, [], "Enable debug mode")
-    CXXFLAGS="$CXXFLAGS -g -O1 -Wall -Werror -Wfatal-errors"
+    CXXFLAGS="$CXXFLAGS -g -Wall -Werror -Wfatal-errors"
 fi
 
 AC_ARG_ENABLE(unittests,
